const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  // 头像优化
  avatar: state => state.user.userInfo.staffPhoto,
  // 用户名优化
  name: state => state.user.userInfo.username,
  userId: state => state.user.userInfo.userId
}
export default getters
